package cn.lanqiao.ui;

import java.awt.BorderLayout;
import javax.swing.JDialog;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import java.awt.Toolkit;
import javax.swing.JLabel;
import java.awt.Font;

public class AboutWe extends JDialog {

	private static final long serialVersionUID = 1L;
	private final JPanel contentPanel = new JPanel();

	public static void main(String[] args) {
		try {
			AboutWe dialog = new AboutWe();
			dialog.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);
			dialog.setVisible(true);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

	public AboutWe() {
		setResizable(false);
		setIconImage(Toolkit.getDefaultToolkit().getImage("photoes\\主图标.png"));
		setTitle("关于我们");
		setBounds(100, 100, 373, 230);
		getContentPane().setLayout(new BorderLayout());
		contentPanel.setBorder(new EmptyBorder(5, 5, 5, 5));
		getContentPane().add(contentPanel, BorderLayout.CENTER);
		contentPanel.setLayout(null);
		
		JLabel label = new JLabel("制作：");
		label.setFont(new Font("华文行楷", Font.PLAIN, 26));
		label.setBounds(10, 10, 84, 29);
		contentPanel.add(label);
		
		JLabel label_1 = new JLabel("黄达澳：");
		label_1.setFont(new Font("楷体", Font.PLAIN, 16));
		label_1.setBounds(20, 49, 74, 15);
		contentPanel.add(label_1);
		
		JLabel label_2 = new JLabel("登录、注销、注册模块的开发");
		label_2.setFont(new Font("微软雅黑", Font.PLAIN, 16));
		label_2.setBounds(50, 74, 222, 15);
		contentPanel.add(label_2);
		
		JLabel label_3 = new JLabel("施瑞贤：");
		label_3.setFont(new Font("楷体", Font.PLAIN, 16));
		label_3.setBounds(20, 99, 74, 15);
		contentPanel.add(label_3);
		
		JLabel label_4 = new JLabel("主界面的功能、复习、换一组、查看以前");
		label_4.setFont(new Font("微软雅黑", Font.PLAIN, 16));
		label_4.setBounds(50, 124, 312, 15);
		contentPanel.add(label_4);
		
		JLabel label_5 = new JLabel("宁思杭、覃善平、郑喜威、蒙仕悦：");
		label_5.setFont(new Font("楷体", Font.PLAIN, 16));
		label_5.setBounds(20, 149, 267, 15);
		contentPanel.add(label_5);
		
		JLabel label_6 = new JLabel("因学业繁忙提供技术支持");
		label_6.setFont(new Font("微软雅黑", Font.PLAIN, 16));
		label_6.setBounds(50, 174, 200, 15);
		contentPanel.add(label_6);
		
		this.setLocationRelativeTo(null);
	}
}
